type embed.file
19 uses
embed (current package)
embed.go#L181: files *[]file
embed.go#L218: type file struct {
embed.go#L227: _ fs.FileInfo = (*file)(nil)
embed.go#L228: _ fs.DirEntry = (*file)(nil)
embed.go#L231: func (f *file) Name() string { _, elem, _ := split(f.name); return elem }
embed.go#L232: func (f *file) Size() int64 { return int64(len(f.data)) }
embed.go#L233: func (f *file) ModTime() time.Time { return time.Time{} }
embed.go#L234: func (f *file) IsDir() bool { _, _, isDir := split(f.name); return isDir }
embed.go#L235: func (f *file) Sys() any { return nil }
embed.go#L236: func (f *file) Type() fs.FileMode { return f.Mode().Type() }
embed.go#L237: func (f *file) Info() (fs.FileInfo, error) { return f, nil }
embed.go#L239: func (f *file) Mode() fs.FileMode {
embed.go#L246: func (f *file) String() string {
embed.go#L252: var dotFile = &file{name: "./"}
embed.go#L255: func (f FS) lookup(name string) *file {
embed.go#L284: func (f FS) readDir(dir string) []file {
embed.go#L348: f *file // the file itself
embed.go#L401: f *file // the directory file itself
embed.go#L402: files []file // the directory contents
The pages are generated with Golds v0.6.7. (GOOS=linux GOARCH=amd64) Golds is a Go 101 project developed by Tapir Liu. PR and bug reports are welcome and can be submitted to the issue list. Please follow @Go100and1 (reachable from the left QR code) to get the latest news of Golds. |